<template>
  <div>
    <Tab :activeTab="activeTab" @change="changeTab" />
    <List />
  </div>
</template>

<script setup lang="ts">
import Tab from "./Tab.vue";
import List from "./List.vue";

const activeTab = ref(1);
const changeTab = (tab: any) => {
  activeTab.value = tab.id;
};
</script>

<style scoped lang="scss"></style>
